package lab02.test06;

public class Ladder {
    double upperedge;
    double bottomedge;
    double height;
    double area;

    public double countArea() {
        area = (upperedge + bottomedge) * height /2;
        return area;
    }

    Ladder() {}
}
